package com.yejiali.backend.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yejiali.backend.entity.UserFollow;
import com.yejiali.backend.response.Response;

/**
 * 用户关注关系表(UserFollow)表服务接口
 *
 * @author yejiali
 * @since 2025-08-11 14:18:58
 */
public interface UserFollowService extends IService<UserFollow>{
    /**
     * 关注用户
     */
    Response<String> followUser(Long userId, Long followedUserId);
    /**
     * 取消关注用户
     */
    Response<String> unfollowUser(Long userId, Long followedUserId);

    /**
     * 查询我的关注的用户
     */
    Response<?> queryMyFollow(Long userId);
}
